home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3objlay.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_OBJECTLAYER_H = 1;
- include("oops/r3model.js")
- include("oops/r3slctbl.js")
-
-
- var R3CLID_OBJECTLAYER = 75;
-
-
-
-
- // Description: Select an object
- // p3: Object, object to select
-
- R3OLAYM_SELECTOBJ = 75000;
-
- function mR3OLAYM_SELECTOBJ(p3) {
- DoA(this.r3obj, 75000, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Select an object and deselect all other objects
- // p3: Object, object to select
-
- R3OLAYM_SELECTOBJMUTEX = 75001;
-
- function mR3OLAYM_SELECTOBJMUTEX(p3) {
- DoA(this.r3obj, 75001, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Select an object if it is selected, otherwise unselect it.
- // p3: Object, object to toggle
-
- R3OLAYM_SELECTOBJTOGGLE = 75002;
-
- function mR3OLAYM_SELECTOBJTOGGLE(p3) {
- DoA(this.r3obj, 75002, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Unselect an object.
- // p3: Object, object to unselect
-
- R3OLAYM_UNSELECTOBJ = 75003;
-
- function mR3OLAYM_UNSELECTOBJ(p3) {
- DoA(this.r3obj, 75003, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Insert an object to the layer.
- // p1: Boolean, if thue does not send R3OLAYM_DOUNDOCOPY method
- // p2: Object, insert after this object, if NULL insert at the end, if same as the
- // parent level, then insert as the first child.
- // p3: Object, object to insert.
-
- R3OLAYM_INSERT = 75004;
-
- function mR3OLAYM_INSERT(p1, p2, p3) {
- DoA3(this.r3obj, 75004, p1, R3TID_BOOLEAN, 0, p2, R3TID_OBJECT, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Remove an object from the layer.
- // Virtual method
- // Returns: Object, obj
- // p1: Boolean, if true, object is not mapped to abs space
- // p3: Object, object to remove.
-
- R3OLAYM_REMOVE = 75005;
-
- function mR3OLAYM_REMOVE(p1, p3) {
- return R3ToJS( DoA2(this.r3obj, 75005, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0));
- }
-
- // Description: Make a new object of the layers default type and insert it.
- // Virtual method
- // Returns: Object, obj
- // p3: Integer, class id of the object to be created or NULL for default.
-
- R3OLAYM_NEWOBJECT = 75006;
-
- function mR3OLAYM_NEWOBJECT(p3) {
- return R3ToJS( DoA(this.r3obj, 75006, p3, R3TID_INTEGER, 0));
- }
-
- // Description: Make a copy of an object in the layer.
- // Returns: Object, copy of p3 if succeeded, else NULL.
- // p1: Integer, method to use for copying.
- // p3: Object, object to copy.
-
- R3OLAYM_COPYOBJECT = 75007;
-
- function mR3OLAYM_COPYOBJECT(p1, p3) {
- return R3ToJS( DoA2(this.r3obj, 75007, p1, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0));
- }
-
- // Description: Delete an object in the layer.
- // p3: Object, object to delete.
-
- R3OLAYM_DELETEOBJECT = 75008;
-
- function mR3OLAYM_DELETEOBJECT(p3) {
- DoA(this.r3obj, 75008, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Delete all selected objects
-
- R3OLAYM_DELETESELECTION = 75009;
-
- function mR3OLAYM_DELETESELECTION() {
- DoA(this.r3obj, 75009, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Move all selected objects to clipboard
-
- R3OLAYM_CUTSELECTION = 75010;
-
- function mR3OLAYM_CUTSELECTION() {
- DoA(this.r3obj, 75010, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Copy all selected objects to clipboard
-
- R3OLAYM_COPYSELECTION = 75011;
-
- function mR3OLAYM_COPYSELECTION() {
- DoA(this.r3obj, 75011, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Unselect all seleced objects.
- // p3: Boolean, recursive
-
- R3OLAYM_CLEARSELECTION = 75012;
-
- function mR3OLAYM_CLEARSELECTION(p3) {
- DoA(this.r3obj, 75012, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Copy all objects in clipboard and add to layer.
-
- R3OLAYM_PASTE = 75013;
-
- function mR3OLAYM_PASTE() {
- DoA(this.r3obj, 75013, 0, R3TID_INTEGER, 0);
- }
-
- // Description: move objects from clipboard, don't copy.
- // p3: Object, insert after this object, if NULL insert at the end, if same as the
- // parent level, then insert as the first child.
-
- R3OLAYM_PASTE2 = 75014;
-
- function mR3OLAYM_PASTE2(p3) {
- DoA(this.r3obj, 75014, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Return TRUE if there are any objects of the layers type in the clipboard.
- // Returns: Boolean, TRUE/FALSE
-
- R3OLAYM_CANPASTE = 75015;
-
- function mR3OLAYM_CANPASTE() {
- return DoA(this.r3obj, 75015, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Perform R3SetAttrsA(sel->obj, tags) on all selected objects
- // p3: Tag[], tags to pass to R3SetAttrsA().
-
- R3OLAYM_SETONSELECTED = 75016;
-
- function mR3OLAYM_SETONSELECTED(p3) {
- Do(this.r3obj, 75016, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Send a method to all selected objects.
- // p1: Boolean, disable undo
- // p2: Boolean, disable R3MM_CHANGED
- // p3: Tag[], R3OLAYA_PMethod, R3INT *, method to send. R3OLAYA_PMsg, void *, first parameter. R3OLAYA_PMsg2, void *,
- // second parameter.
-
- R3OLAYM_PERFORMONSELECTED = 75017;
-
- function mR3OLAYM_PERFORMONSELECTED(p1, p2, p3) {
- Do3(this.r3obj, 75017, p1, R3TID_BOOLEAN, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Lock layer with exclusive lock
- // p3: Boolean, recursive
-
- R3OLAYM_LOCKEXCLUSIVE = 75018;
-
- function mR3OLAYM_LOCKEXCLUSIVE(p3) {
- DoA(this.r3obj, 75018, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Lock layer with shared lock
-
- R3OLAYM_LOCKSHARED = 75019;
-
- function mR3OLAYM_LOCKSHARED() {
- DoA(this.r3obj, 75019, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Release the lock obtained via R3OLAYM_LOCKSHARED or R3OLAYM_LOCKSHAREDYIELDS
- // p3: Object, NULL if layer was locked via R3OLAYM_LOCKSHARED. * Yielding object if layer was locked
- // via R3OLAYM_LOCKSHAREDYIELDS
-
- R3OLAYM_RELEASE = 75020;
-
- function mR3OLAYM_RELEASE(p3) {
- DoA(this.r3obj, 75020, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Locking for objects willing to give up the lock if another thread wants an exclusive
- // lock.
- // p3: Tag[], R3OLAYA_YieldingObject, R3OBJ *, R3OLAYA_YieldMethod, R3INT,
-
- R3OLAYM_LOCKSHAREDYIELDS = 75021;
-
- function mR3OLAYM_LOCKSHAREDYIELDS(p3) {
- Do(this.r3obj, 75021, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Return first selected object.
- // Returns: Object, the object
-
- R3OLAYM_GETFIRSTSELECTED = 75022;
-
- function mR3OLAYM_GETFIRSTSELECTED() {
- return R3ToJS( DoA(this.r3obj, 75022, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Normal undo
-
- R3OLAYM_UNDO = 75023;
-
- function mR3OLAYM_UNDO() {
- DoA(this.r3obj, 75023, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Return data representing all objects for inserting into undo list.
- // Returns: Object, the data
-
- R3OLAYM_UNDOCOPY = 75024;
-
- function mR3OLAYM_UNDOCOPY() {
- return R3ToJS( DoA(this.r3obj, 75024, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Copy the current state into the undo list.
-
- R3OLAYM_DOUNDOCOPY = 75025;
-
- function mR3OLAYM_DOUNDOCOPY() {
- DoA(this.r3obj, 75025, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Reset the state of the layer to on returned by UNDOCOPY
-
- R3OLAYM_SETUNDOCOPY = 75026;
-
- function mR3OLAYM_SETUNDOCOPY() {
- DoA(this.r3obj, 75026, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Delete the data returned by UNDOCOPY
-
- R3OLAYM_REMOVEUNDOCOPY = 75027;
-
- function mR3OLAYM_REMOVEUNDOCOPY() {
- DoA(this.r3obj, 75027, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Do one undo copy but no further undo copies until ENDATOMARYUNDO is called
-
- R3OLAYM_BEGINATOMARYUNDO = 75028;
-
- function mR3OLAYM_BEGINATOMARYUNDO() {
- DoA(this.r3obj, 75028, 0, R3TID_INTEGER, 0);
- }
-
- // Description: See BEGINATOMARYUNDO
-
- R3OLAYM_ENDATOMARYUNDO = 75029;
-
- function mR3OLAYM_ENDATOMARYUNDO() {
- DoA(this.r3obj, 75029, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Find an object by its name.
- // Returns: Object, object if found, else NULL,
- // p3: String, name of object
-
- R3OLAYM_FINDBYNAME = 75030;
-
- function mR3OLAYM_FINDBYNAME(p3) {
- return R3ToJS( DoA(this.r3obj, 75030, p3, R3TID_STRING, 0));
- }
-
- // Description: Send a method to all selected objects using R3SendMsgA2().
- // Returns: Object, obj
- // p1: Integer, a method to be sent
- // p2: Object, p1 parameter for the selected object
- // p3: Object, p3 parameter for the selected objects
-
- R3OLAYM_PERFORMONSELECTEDA2 = 75031;
-
- function mR3OLAYM_PERFORMONSELECTEDA2(p1, p2, p3) {
- return R3ToJS( DoA3(this.r3obj, 75031, p1, R3TID_INTEGER, 0, p2, R3TID_OBJECT, 0, p3, R3TID_OBJECT, 0));
- }
-
- // Description: Perform R3SetAttrs(sel->obj, p1, msg, R3TAG_END) on all selected objects
- // p1: Integer, attribute
- // p2: Boolean, disable undocopy
- // p3: Object, value
-
- R3OLAYM_SETONSELECTEDA = 75032;
-
- function mR3OLAYM_SETONSELECTEDA(p1, p2, p3) {
- DoA3(this.r3obj, 75032, p1, R3TID_INTEGER, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Send write method to all selected objects
- // Returns: Boolean, TRUE if succeed, FALSE otherwise
-
- R3OLAYM_WRITESELECTION = 75033;
-
- function mR3OLAYM_WRITESELECTION() {
- return DoA(this.r3obj, 75033, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Select objects by name
- // Virtual method
- // Returns: Integer, number of objects selected
- // p1: Boolean, if true selects, otherwise unselects
- // p3: String, regular expression
-
- R3OLAYM_SELECTBYNAME = 75034;
-
- function mR3OLAYM_SELECTBYNAME(p1, p3) {
- return DoA2(this.r3obj, 75034, p1, R3TID_BOOLEAN, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: Select objects by class
- // Virtual method
- // Returns: Integer, number of objects selected
- // p1: Boolean, if true selects, otherwise unselects
- // p3: Integer, class id
-
- R3OLAYM_SELECTBYCLASS = 75035;
-
- function mR3OLAYM_SELECTBYCLASS(p1, p3) {
- return DoA2(this.r3obj, 75035, p1, R3TID_BOOLEAN, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Enumerate the contents of the layer. The given callback must define * two parameters: object
- // and context data. If the callback returns TRUE, enumeration continues. If the return values is
- // not TRUE, the enumeration is canceled and the return code from the hook is returned.
- // Returns: Integer, return value from the hook function.
- // p3: Tag[], tag list specifying R3RA_Hook and R3RA_HookData.
-
- R3OLAYM_ENUMOBJECTS = 75036;
-
- function mR3OLAYM_ENUMOBJECTS(p3) {
- return Do(this.r3obj, 75036, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Add dynamic attributes to the layer object.
- // Returns: Boolean, true if succeeded.
- // p3: Tag[], dynamic tags to be added.
-
- R3OLAYM_SETDYNATTRS = 75037;
-
- function mR3OLAYM_SETDYNATTRS(p3) {
- return Do(this.r3obj, 75037, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Get dynamic attributes from the layer
- // Returns: Tag[], NULL if all tags were found, otherwise address to the last not found tag
- // p3: Tag[], attributes to be fetched
-
- R3OLAYM_GETDYNATTRS = 75038;
-
- function mR3OLAYM_GETDYNATTRS(p3) {
- return Do(this.r3obj, 75038, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Find common class id for the selected objects. Note: initialize the result value to
- // -1 zero before caling this function. If there is no selected objects, this method doesn't
- // touch 'p3'
- // Returns: Boolean, FALSE if class id cannot be detected (no objects selected)
- // p1: Boolean, recursive
-
- R3OLAYM_KINDOF = 75039;
-
- function mR3OLAYM_KINDOF(p1) {
- return DoA2(this.r3obj, 75039, p1, R3TID_BOOLEAN, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Redo
-
- R3OLAYM_REDO = 75040;
-
- function mR3OLAYM_REDO() {
- DoA(this.r3obj, 75040, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Check if the selected objects include objects with the given class id.
- // Returns: Boolean, TRUE/FALSE
- // p3: Integer, class id to be checked
-
- R3OLAYM_SELECTEDOFKIND = 75041;
-
- function mR3OLAYM_SELECTEDOFKIND(p3) {
- return DoA(this.r3obj, 75041, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Fetch the current time of the layer.
- // p3: Number, buffer
-
- R3OLAYM_GETCURRENTIME = 75042;
-
- function mR3OLAYM_GETCURRENTIME(p3) {
- DoA(this.r3obj, 75042, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Find object identified by given dynamic tag.
- // Returns: Object, object which defines given attribute - value.
- // p2: Integer, unique identifier
-
- R3OLAYM_FINDTAGCLOSE = 75043;
-
- function mR3OLAYM_FINDTAGCLOSE(p2) {
- return R3ToJS( DoA3(this.r3obj, 75043, 0, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0));
- }
-
- // Description: find object with give unique identifier
- // Virtual method
- // p1: Integer, tag id of identifier,
- // p2: Integer, value of the identifier
- // p3: Object, object excluded in the search
-
- R3OLAYM_FINDTAGFROMCHILDREN = 75044;
-
- function mR3OLAYM_FINDTAGFROMCHILDREN(p1, p2, p3) {
- DoA3(this.r3obj, 75044, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Enumerate the contents of the select list. The given callback gets the enumerated * object
- // as the first parameter and the given context data second. If the callback returns TRUE,
- // enumeration continues. If the return values is not TRUE, the enumeration is canceled and the
- // return code from the hook is returned.
- // Returns: Integer, return value from the hook function.
- // p3: Tag[], tag list specifying R3RA_Hook and R3RA_HookData.
-
- R3OLAYM_ENUMSELECTLIST = 75045;
-
- function mR3OLAYM_ENUMSELECTLIST(p3) {
- return Do(this.r3obj, 75045, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Duplicates all selected objects and optionally renames them.
-
- R3OLAYM_DUPLICATESELECTION = 75046;
-
- function mR3OLAYM_DUPLICATESELECTION() {
- DoA(this.r3obj, 75046, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Execute all idle messages to a target or to all targets
-
- R3OLAYM_EXECIDLES = 75047;
-
- function mR3OLAYM_EXECIDLES() {
- DoA(this.r3obj, 75047, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Add idle message to the layers idle list
- // Returns: Boolean, true if succeeded
- // p1: Object, object to be called
- // p2: Integer, method
- // p3: Object, p3 parameter for the object to be called.
-
- R3OLAYM_ADDIDLEMSG = 75048;
-
- function mR3OLAYM_ADDIDLEMSG(p1, p2, p3) {
- return DoA3(this.r3obj, 75048, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Select an object by ordnum.
- // Virtual method
- // Returns: Boolean, true if selected
- // p3: Integer, ordnum
-
- R3OLAYM_SELECTBYORDNUM = 75049;
-
- function mR3OLAYM_SELECTBYORDNUM(p3) {
- return DoA(this.r3obj, 75049, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Fetch the end time of the layer.
- // p3: Number, buffer
-
- R3OLAYM_GETENDTIME = 75050;
-
- function mR3OLAYM_GETENDTIME(p3) {
- DoA(this.r3obj, 75050, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Export objects in the layer
- // Virtual method
-
- R3OLAYM_EXPORT = 75051;
-
- function mR3OLAYM_EXPORT() {
- DoA(this.r3obj, 75051, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Delete all objects in the layer.
- // Virtual method
-
- R3OLAYM_DELETEALL = 75052;
-
- function mR3OLAYM_DELETEALL() {
- DoA(this.r3obj, 75052, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Register paste handler for a class. Paste handler is called for objects in the
- // clipboard before each paste operation. Paste handler consists of three functions: begin is called once
- // per paste operation: userdata = (*begin)(layer); 'handler' is called once per each object in the
- // clip board and the return value o fthe 'begin' function is passed as a parameter
- // for the function. Memory allocated in the 'begin' function can then be freed in the
- // 'end' function.
- // Returns: Boolean, true if succeeded.
-
- R3OLAYCM_REGISTERPASTEHANDLE = 75053;
-
- function mR3OLAYCM_REGISTERPASTEHANDLE() {
- return DoA(this.r3obj, 75053, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Called internally by cut/copy/paste/duplcate etc. operations.
-
- R3OLAYM_ENUMPASTEOBJ = 75055;
-
- function mR3OLAYM_ENUMPASTEOBJ() {
- DoA(this.r3obj, 75055, 0, R3TID_INTEGER, 0);
- }
-
- // Description: invalidate all references to given object.
- // Virtual method
- // p1: Integer, tag
- // p2: Integer, unique id
- // p3: Object, 'not here' for recursive
-
- R3OLAYM_not_supported_in_v5 = 75056;
-
- function mR3OLAYM_not_supported_in_v5(p1, p2, p3) {
- DoA3(this.r3obj, 75056, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Remove or execute all idle messages to given object.
- // p1: Boolean, true to execute, false just removes the message from the queue.
- // p3: Object, target object
-
- R3OLAYM_STRIPIDLESTOOBJ = 75058;
-
- function mR3OLAYM_STRIPIDLESTOOBJ(p1, p3) {
- DoA2(this.r3obj, 75058, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Set given sub component of vector attribute.
- // p1: Integer, attribute to be set
- // p2: Integer, ordnum of the sub field (0 = x, 1 = y etc.)
- // p3: Number, new value
-
- R3OLAYM_SETSUBFLOATONSELECTE = 75059;
-
- function mR3OLAYM_SETSUBFLOATONSELECTE(p1, p2, p3) {
- DoA3(this.r3obj, 75059, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Set given sub component of a vector attribute in 'relative' way (the value is
- // added to the current value, not assigned).
- // p1: Integer, attribute to be set
- // p2: Integer, ordnum of the sub field (0 = x, 1 = y etc.)
- // p3: Number, new value
-
- R3OLAYM_SETRELATIVESUBFLOATO = 75060;
-
- function mR3OLAYM_SETRELATIVESUBFLOATO(p1, p2, p3) {
- DoA3(this.r3obj, 75060, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Unselect children and anchestors.
-
- R3OLAYM_UNSELECTCHILDANDANC = 75061;
-
- function mR3OLAYM_UNSELECTCHILDANDANC() {
- DoA(this.r3obj, 75061, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Select range of objects, from the first previosly selected to the given object p3
- // p3: Object, end of selection range
-
- R3OLAYM_SELECTOBJRANGE = 75062;
-
- function mR3OLAYM_SELECTOBJRANGE(p3) {
- DoA(this.r3obj, 75062, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Execute selected idle messages
- // p1: Integer, method, if != 0 only these methods are removed/executed
- // p2: Boolean, dont_execute, if TRUE selected idle messages are removed but not executed
-
- R3OLAYM_EXECSELECTEDIDLES = 75063;
-
- function mR3OLAYM_EXECSELECTEDIDLES(p1, p2) {
- DoA3(this.r3obj, 75063, p1, R3TID_INTEGER, 0, p2, R3TID_BOOLEAN, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Register R3MM_CHANGED tags that do not cause layer to be dirty.
- // p3: Integer, tag to ignore
-
- R3OLAYCM_REGISTERCHANGETOIGN = 75064;
-
- function mR3OLAYCM_REGISTERCHANGETOIGN(p3) {
- DoA(this.r3obj, 75064, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Set current time.
- // p1: Boolean, if true, don't send R3MM_CHANGED
- // p3: Number, new time
-
- R3OLAYM_SETCURRENTTIME = 75065;
-
- function mR3OLAYM_SETCURRENTTIME(p1, p3) {
- DoA2(this.r3obj, 75065, p1, R3TID_BOOLEAN, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Register a simple callback hook that is called when layer is changed: * R3DoA2(cbobj, cbthm,
- // context, changetaglist);
- // p1: Object, callback target
- // p2: Integer, callback method
- // p3: Object, additional context
-
- R3OLAYM_REGISTERCHANGECALLBA = 75066;
-
- function mR3OLAYM_REGISTERCHANGECALLBA(p1, p2, p3) {
- DoA3(this.r3obj, 75066, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Frees the callback list
-
- R3OLAYM_FREECHANGECALLBACKS = 75067;
-
- function mR3OLAYM_FREECHANGECALLBACKS() {
- DoA(this.r3obj, 75067, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Notification for choreography creation/deletion
-
- R3OLAYM_CHORNOTIFICATION = 75068;
-
- function mR3OLAYM_CHORNOTIFICATION() {
- DoA(this.r3obj, 75068, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Show message to the user. This sets the given string to * the progress indicator
- // model and logs the message to the * app.log via R3AppInfo().
- // Returns: Boolean, true if there was a progress model associated with the layer
- // p3: String, message to be shown
-
- R3OLAYM_SHOWMSG = 75069;
-
- function mR3OLAYM_SHOWMSG(p3) {
- return DoA(this.r3obj, 75069, p3, R3TID_STRING, 0);
- }
-
- // Description: Invalidate or remove inter object references. If 'target' is NULL, all references are invalidated/removed.
- // If not, refrences to the given target only is removed. If 'p1' is TRUE, references
- // are removed permanently. If 'p1' is FALSE, references are only invalidated. This method is called
- // internally when an object is removed from the layer, or deleted.
- // Virtual method
- // p1: Boolean, permanently
- // p3: Object, target object
-
- R3OLAYM_REMOVEREFERENCES = 75070;
-
- function mR3OLAYM_REMOVEREFERENCES(p1, p3) {
- DoA2(this.r3obj, 75070, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
-
-
-
- R3OLAYA_SelectList = 75500;
- function GetR3OLAYA_SelectList() {
- return R3ToJS(R3Get(this.r3obj, R3OLAYA_SelectList, R3TID_OBJECT, 0));
- }
-
- R3OLAYA_UndoDepth = 75501;
- function SetR3OLAYA_UndoDepth(value) {
- R3Set(this.r3obj, R3OLAYA_UndoDepth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3OLAYA_UndoDepth() {
- return R3Get(this.r3obj, R3OLAYA_UndoDepth, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_CurrentUndos = 75502;
- function GetR3OLAYA_CurrentUndos() {
- return R3Get(this.r3obj, R3OLAYA_CurrentUndos, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_ClipBoard = 75503;
- function SetR3OLAYA_ClipBoard(value) {
- R3Set(this.r3obj, R3OLAYA_ClipBoard, value, R3TID_OBJECT, 0);
- }
-
- R3OLAYA_ClipClass = 75504;
- function SetR3OLAYA_ClipClass(value) {
- R3Set(this.r3obj, R3OLAYA_ClipClass, value, R3TID_INTEGER, 0);
- }
-
- function GetR3OLAYA_ClipClass() {
- return R3Get(this.r3obj, R3OLAYA_ClipClass, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_ProgressIndicator = 75505;
- function SetR3OLAYA_ProgressIndicator(value) {
- R3Set(this.r3obj, R3OLAYA_ProgressIndicator, value, R3TID_OBJECT, 0);
- }
-
- function GetR3OLAYA_ProgressIndicator() {
- return R3ToJS(R3Get(this.r3obj, R3OLAYA_ProgressIndicator, R3TID_OBJECT, 0));
- }
-
- R3OLAYA_CurrentRedos = 75514;
- function GetR3OLAYA_CurrentRedos() {
- return R3Get(this.r3obj, R3OLAYA_CurrentRedos, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_AddKeyResol = 75515;
- function SetR3OLAYA_AddKeyResol(value) {
- R3Set(this.r3obj, R3OLAYA_AddKeyResol, value, R3TID_FLOAT, 0);
- }
-
- function GetR3OLAYA_AddKeyResol() {
- return R3Get(this.r3obj, R3OLAYA_AddKeyResol, R3TID_FLOAT, 0);
- }
-
- R3OLAYA_FindTagObj = 75516;
- function SetR3OLAYA_FindTagObj(value) {
- R3Set(this.r3obj, R3OLAYA_FindTagObj, value, R3TID_OBJECT, 0);
- }
-
- R3OLAYA_FindTagMth = 75517;
- function SetR3OLAYA_FindTagMth(value) {
- R3Set(this.r3obj, R3OLAYA_FindTagMth, value, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_CurrentTime = 75518;
- function SetR3OLAYA_CurrentTime(value) {
- R3Set(this.r3obj, R3OLAYA_CurrentTime, value, R3TID_FLOAT, 0);
- }
-
- function GetR3OLAYA_CurrentTime() {
- return R3Get(this.r3obj, R3OLAYA_CurrentTime, R3TID_FLOAT, 0);
- }
-
- R3OLAYA_Modified = 75519;
- function SetR3OLAYA_Modified(value) {
- R3Set(this.r3obj, R3OLAYA_Modified, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3OLAYA_Modified() {
- return R3Get(this.r3obj, R3OLAYA_Modified, R3TID_BOOLEAN, 0);
- }
-
- R3OLAYA_EndTime = 75520;
- function SetR3OLAYA_EndTime(value) {
- R3Set(this.r3obj, R3OLAYA_EndTime, value, R3TID_FLOAT, 0);
- }
-
- function GetR3OLAYA_EndTime() {
- return R3Get(this.r3obj, R3OLAYA_EndTime, R3TID_FLOAT, 0);
- }
-
- R3OLAYA_RemoveReferencesMth = 75523;
- function SetR3OLAYA_RemoveReferencesMth(value) {
- R3Set(this.r3obj, R3OLAYA_RemoveReferencesMth, value, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_Open = 75524;
- function SetR3OLAYA_Open(value) {
- R3Set(this.r3obj, R3OLAYA_Open, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3OLAYA_Open() {
- return R3Get(this.r3obj, R3OLAYA_Open, R3TID_BOOLEAN, 0);
- }
-
- R3OLAYA_AsyncExecutor = 75525;
- function SetR3OLAYA_AsyncExecutor(value) {
- R3Set(this.r3obj, R3OLAYA_AsyncExecutor, value, R3TID_OBJECT, 0);
- }
-
- function GetR3OLAYA_AsyncExecutor() {
- return R3ToJS(R3Get(this.r3obj, R3OLAYA_AsyncExecutor, R3TID_OBJECT, 0));
- }
-
- R3OLAYA_NoLocking = 75526;
- function SetR3OLAYA_NoLocking(value) {
- R3Set(this.r3obj, R3OLAYA_NoLocking, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3OLAYA_NoLocking() {
- return R3Get(this.r3obj, R3OLAYA_NoLocking, R3TID_BOOLEAN, 0);
- }
-
- R3OLAYA_ChangeCount = 75528;
- function GetR3OLAYA_ChangeCount() {
- return R3Get(this.r3obj, R3OLAYA_ChangeCount, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_NoChangeCounting = 75529;
- function SetR3OLAYA_NoChangeCounting(value) {
- R3Set(this.r3obj, R3OLAYA_NoChangeCounting, value, R3TID_INTEGER, 0);
- }
-
- function GetR3OLAYA_NoChangeCounting() {
- return R3Get(this.r3obj, R3OLAYA_NoChangeCounting, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_ChangeCallbacks = 75530;
- function SetR3OLAYA_ChangeCallbacks(value) {
- R3Set(this.r3obj, R3OLAYA_ChangeCallbacks, value, R3TID_INTEGER, 0);
- }
-
- function GetR3OLAYA_ChangeCallbacks() {
- return R3Get(this.r3obj, R3OLAYA_ChangeCallbacks, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_NumObjects = 75531;
- function GetR3OLAYA_NumObjects() {
- return R3Get(this.r3obj, R3OLAYA_NumObjects, R3TID_INTEGER, 0);
- }
-
- R3OLAYA_AnimRecord = 75532;
- function SetR3OLAYA_AnimRecord(value) {
- R3Set(this.r3obj, R3OLAYA_AnimRecord, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3OLAYA_AnimRecord() {
- return R3Get(this.r3obj, R3OLAYA_AnimRecord, R3TID_BOOLEAN, 0);
- }
-
- R3OLAYA_DeleteReferencesMth = 75533;
- function SetR3OLAYA_DeleteReferencesMth(value) {
- R3Set(this.r3obj, R3OLAYA_DeleteReferencesMth, value, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Objectlayer () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_OBJECTLAYER, arguments);
- }
- // Methods
- this.SELECTOBJ=mR3OLAYM_SELECTOBJ;
- this.SELECTOBJMUTEX=mR3OLAYM_SELECTOBJMUTEX;
- this.SELECTOBJTOGGLE=mR3OLAYM_SELECTOBJTOGGLE;
- this.UNSELECTOBJ=mR3OLAYM_UNSELECTOBJ;
- this.INSERT=mR3OLAYM_INSERT;
- this.REMOVE=mR3OLAYM_REMOVE;
- this.NEWOBJECT=mR3OLAYM_NEWOBJECT;
- this.COPYOBJECT=mR3OLAYM_COPYOBJECT;
- this.DELETEOBJECT=mR3OLAYM_DELETEOBJECT;
- this.DELETESELECTION=mR3OLAYM_DELETESELECTION;
- this.CUTSELECTION=mR3OLAYM_CUTSELECTION;
- this.COPYSELECTION=mR3OLAYM_COPYSELECTION;
- this.CLEARSELECTION=mR3OLAYM_CLEARSELECTION;
- this.PASTE=mR3OLAYM_PASTE;
- this.PASTE2=mR3OLAYM_PASTE2;
- this.CANPASTE=mR3OLAYM_CANPASTE;
- this.SETONSELECTED=mR3OLAYM_SETONSELECTED;
- this.PERFORMONSELECTED=mR3OLAYM_PERFORMONSELECTED;
- this.LOCKEXCLUSIVE=mR3OLAYM_LOCKEXCLUSIVE;
- this.LOCKSHARED=mR3OLAYM_LOCKSHARED;
- this.RELEASE=mR3OLAYM_RELEASE;
- this.LOCKSHAREDYIELDS=mR3OLAYM_LOCKSHAREDYIELDS;
- this.GETFIRSTSELECTED=mR3OLAYM_GETFIRSTSELECTED;
- this.UNDO=mR3OLAYM_UNDO;
- this.UNDOCOPY=mR3OLAYM_UNDOCOPY;
- this.DOUNDOCOPY=mR3OLAYM_DOUNDOCOPY;
- this.SETUNDOCOPY=mR3OLAYM_SETUNDOCOPY;
- this.REMOVEUNDOCOPY=mR3OLAYM_REMOVEUNDOCOPY;
- this.BEGINATOMARYUNDO=mR3OLAYM_BEGINATOMARYUNDO;
- this.ENDATOMARYUNDO=mR3OLAYM_ENDATOMARYUNDO;
- this.FINDBYNAME=mR3OLAYM_FINDBYNAME;
- this.PERFORMONSELECTEDA2=mR3OLAYM_PERFORMONSELECTEDA2;
- this.SETONSELECTEDA=mR3OLAYM_SETONSELECTEDA;
- this.WRITESELECTION=mR3OLAYM_WRITESELECTION;
- this.SELECTBYNAME=mR3OLAYM_SELECTBYNAME;
- this.SELECTBYCLASS=mR3OLAYM_SELECTBYCLASS;
- this.ENUMOBJECTS=mR3OLAYM_ENUMOBJECTS;
- this.SETDYNATTRS=mR3OLAYM_SETDYNATTRS;
- this.GETDYNATTRS=mR3OLAYM_GETDYNATTRS;
- this.KINDOF=mR3OLAYM_KINDOF;
- this.REDO=mR3OLAYM_REDO;
- this.SELECTEDOFKIND=mR3OLAYM_SELECTEDOFKIND;
- this.GETCURRENTIME=mR3OLAYM_GETCURRENTIME;
- this.FINDTAGCLOSE=mR3OLAYM_FINDTAGCLOSE;
- this.FINDTAGFROMCHILDREN=mR3OLAYM_FINDTAGFROMCHILDREN;
- this.ENUMSELECTLIST=mR3OLAYM_ENUMSELECTLIST;
- this.DUPLICATESELECTION=mR3OLAYM_DUPLICATESELECTION;
- this.EXECIDLES=mR3OLAYM_EXECIDLES;
- this.ADDIDLEMSG=mR3OLAYM_ADDIDLEMSG;
- this.SELECTBYORDNUM=mR3OLAYM_SELECTBYORDNUM;
- this.GETENDTIME=mR3OLAYM_GETENDTIME;
- this.EXPORT=mR3OLAYM_EXPORT;
- this.DELETEALL=mR3OLAYM_DELETEALL;
- this.REGISTERPASTEHANDLE=mR3OLAYCM_REGISTERPASTEHANDLE;
- this.ENUMPASTEOBJ=mR3OLAYM_ENUMPASTEOBJ;
- this.not_supported_in_v5=mR3OLAYM_not_supported_in_v5;
- this.STRIPIDLESTOOBJ=mR3OLAYM_STRIPIDLESTOOBJ;
- this.SETSUBFLOATONSELECTE=mR3OLAYM_SETSUBFLOATONSELECTE;
- this.SETRELATIVESUBFLOATO=mR3OLAYM_SETRELATIVESUBFLOATO;
- this.UNSELECTCHILDANDANC=mR3OLAYM_UNSELECTCHILDANDANC;
- this.SELECTOBJRANGE=mR3OLAYM_SELECTOBJRANGE;
- this.EXECSELECTEDIDLES=mR3OLAYM_EXECSELECTEDIDLES;
- this.REGISTERCHANGETOIGN=mR3OLAYCM_REGISTERCHANGETOIGN;
- this.SETCURRENTTIME=mR3OLAYM_SETCURRENTTIME;
- this.REGISTERCHANGECALLBA=mR3OLAYM_REGISTERCHANGECALLBA;
- this.FREECHANGECALLBACKS=mR3OLAYM_FREECHANGECALLBACKS;
- this.CHORNOTIFICATION=mR3OLAYM_CHORNOTIFICATION;
- this.SHOWMSG=mR3OLAYM_SHOWMSG;
- this.REMOVEREFERENCES=mR3OLAYM_REMOVEREFERENCES;
-
- // Attributes
- this.GetSelectList=GetR3OLAYA_SelectList;
- this.GetUndoDepth=GetR3OLAYA_UndoDepth;
- this.SetUndoDepth=SetR3OLAYA_UndoDepth;
- this.GetCurrentUndos=GetR3OLAYA_CurrentUndos;
- this.SetClipBoard=SetR3OLAYA_ClipBoard;
- this.GetClipClass=GetR3OLAYA_ClipClass;
- this.SetClipClass=SetR3OLAYA_ClipClass;
- this.GetProgressIndicator=GetR3OLAYA_ProgressIndicator;
- this.SetProgressIndicator=SetR3OLAYA_ProgressIndicator;
- this.GetCurrentRedos=GetR3OLAYA_CurrentRedos;
- this.GetAddKeyResol=GetR3OLAYA_AddKeyResol;
- this.SetAddKeyResol=SetR3OLAYA_AddKeyResol;
- this.SetFindTagObj=SetR3OLAYA_FindTagObj;
- this.SetFindTagMth=SetR3OLAYA_FindTagMth;
- this.GetCurrentTime=GetR3OLAYA_CurrentTime;
- this.SetCurrentTime=SetR3OLAYA_CurrentTime;
- this.GetModified=GetR3OLAYA_Modified;
- this.SetModified=SetR3OLAYA_Modified;
- this.GetEndTime=GetR3OLAYA_EndTime;
- this.SetEndTime=SetR3OLAYA_EndTime;
- this.SetRemoveReferencesMth=SetR3OLAYA_RemoveReferencesMth;
- this.GetOpen=GetR3OLAYA_Open;
- this.SetOpen=SetR3OLAYA_Open;
- this.GetAsyncExecutor=GetR3OLAYA_AsyncExecutor;
- this.SetAsyncExecutor=SetR3OLAYA_AsyncExecutor;
- this.GetNoLocking=GetR3OLAYA_NoLocking;
- this.SetNoLocking=SetR3OLAYA_NoLocking;
- this.GetChangeCount=GetR3OLAYA_ChangeCount;
- this.GetNoChangeCounting=GetR3OLAYA_NoChangeCounting;
- this.SetNoChangeCounting=SetR3OLAYA_NoChangeCounting;
- this.GetChangeCallbacks=GetR3OLAYA_ChangeCallbacks;
- this.SetChangeCallbacks=SetR3OLAYA_ChangeCallbacks;
- this.GetNumObjects=GetR3OLAYA_NumObjects;
- this.GetAnimRecord=GetR3OLAYA_AnimRecord;
- this.SetAnimRecord=SetR3OLAYA_AnimRecord;
- this.SetDeleteReferencesMth=SetR3OLAYA_DeleteReferencesMth;
- }
-
- r3Objectlayer.prototype=new r3Model;
- // r3objlay.h_H